package com.ruoyi.resturant.mapper;

import com.ruoyi.resturant.domain.ResShop;
import com.ruoyi.student.domain.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResShopMapper {

    //    多条件查询-if
    public List<ResShop> selectResShopList(ResShop resShop);

    //    多条件查询-where
    List<ResShop> selectResShopList2(ResShop resShop);
    //  查全部
    public List<ResShop>queryAll();
    //    新增信息
    public  int addResShop(ResShop resShop);
    //    修改
    void updateResShop(ResShop resShop);
    //  删除
    void deleteResShop(int id);
    List<ResShop> queryResShopByname(String name);
}
